/// name : "蔡柯增"
/// sex : 0
/// mobile : "18869978285"
/// userName : "18869978285"
/// postNames : "行政"
/// postIds : "1"
/// mainPostId : 1
/// headimageId : 5142
/// officeName : "餐饮部"
/// mainPostName : "行政"
/// moDianFlag : false
/// userNo : "10002"
/// tenantId : 1000
/// branchId : 6627
/// accCode : "1000.6507.6627"
/// humanId : 9011
/// officeId : 9027
/// validSign : 1
/// email : ""
/// remark : ""
/// status : 2
/// freePassage : 66
/// memberId : ""
/// cardNo : "331081199312094015"
/// saasId : 1000
/// id : 9012
/// createdBy : "5"
/// createdDate : "2022-03-30 21:51:41"
/// updatedBy : "8952"
/// updatedDate : "2022-11-02 14:16:20"

class EmployeeDataList {
  EmployeeDataList({
      this.name, 
      this.sex, 
      this.mobile, 
      this.userName, 
      this.postNames, 
      this.postIds, 
      this.mainPostId, 
      this.headimageId, 
      this.officeName, 
      this.mainPostName, 
      this.moDianFlag, 
      this.userNo, 
      this.tenantId, 
      this.branchId, 
      this.accCode, 
      this.humanId, 
      this.officeId, 
      this.validSign, 
      this.email, 
      this.remark, 
      this.status, 
      this.freePassage, 
      this.memberId, 
      this.cardNo, 
      this.saasId, 
      this.id, 
      this.createdBy, 
      this.createdDate, 
      this.updatedBy, 
      this.updatedDate,});

  EmployeeDataList.fromJson(dynamic json) {
    name = json['name'];
    sex = json['sex'];
    mobile = json['mobile'];
    userName = json['userName'];
    postNames = json['postNames'];
    postIds = json['postIds'];
    mainPostId = json['mainPostId'];
    headimageId = json['headimageId'];
    officeName = json['officeName'];
    mainPostName = json['mainPostName'];
    moDianFlag = json['moDianFlag'];
    userNo = json['userNo'];
    tenantId = json['tenantId'];
    branchId = json['branchId'];
    accCode = json['accCode'];
    humanId = json['humanId'];
    officeId = json['officeId'];
    validSign = json['validSign'];
    email = json['email'];
    remark = json['remark'];
    status = json['status'];
    freePassage = json['freePassage'];
    memberId = json['memberId'];
    cardNo = json['cardNo'];
    saasId = json['saasId'];
    id = json['id'];
    createdBy = json['createdBy'];
    createdDate = json['createdDate'];
    updatedBy = json['updatedBy'];
    updatedDate = json['updatedDate'];
  }
  String? name;
  num? sex;
  String? mobile;
  String? userName;
  String? postNames;
  String? postIds;
  num? mainPostId;
  num? headimageId;
  String? officeName;
  String? mainPostName;
  bool? moDianFlag;
  String? userNo;
  num? tenantId;
  num? branchId;
  String? accCode;
  num? humanId;
  num? officeId;
  num? validSign;
  String? email;
  String? remark;
  num? status;
  num? freePassage;
  String? memberId;
  String? cardNo;
  num? saasId;
  num? id;
  String? createdBy;
  String? createdDate;
  String? updatedBy;
  String? updatedDate;
EmployeeDataList copyWith({  String? name,
  num? sex,
  String? mobile,
  String? userName,
  String? postNames,
  String? postIds,
  num? mainPostId,
  num? headimageId,
  String? officeName,
  String? mainPostName,
  bool? moDianFlag,
  String? userNo,
  num? tenantId,
  num? branchId,
  String? accCode,
  num? humanId,
  num? officeId,
  num? validSign,
  String? email,
  String? remark,
  num? status,
  num? freePassage,
  String? memberId,
  String? cardNo,
  num? saasId,
  num? id,
  String? createdBy,
  String? createdDate,
  String? updatedBy,
  String? updatedDate,
}) => EmployeeDataList(  name: name ?? this.name,
  sex: sex ?? this.sex,
  mobile: mobile ?? this.mobile,
  userName: userName ?? this.userName,
  postNames: postNames ?? this.postNames,
  postIds: postIds ?? this.postIds,
  mainPostId: mainPostId ?? this.mainPostId,
  headimageId: headimageId ?? this.headimageId,
  officeName: officeName ?? this.officeName,
  mainPostName: mainPostName ?? this.mainPostName,
  moDianFlag: moDianFlag ?? this.moDianFlag,
  userNo: userNo ?? this.userNo,
  tenantId: tenantId ?? this.tenantId,
  branchId: branchId ?? this.branchId,
  accCode: accCode ?? this.accCode,
  humanId: humanId ?? this.humanId,
  officeId: officeId ?? this.officeId,
  validSign: validSign ?? this.validSign,
  email: email ?? this.email,
  remark: remark ?? this.remark,
  status: status ?? this.status,
  freePassage: freePassage ?? this.freePassage,
  memberId: memberId ?? this.memberId,
  cardNo: cardNo ?? this.cardNo,
  saasId: saasId ?? this.saasId,
  id: id ?? this.id,
  createdBy: createdBy ?? this.createdBy,
  createdDate: createdDate ?? this.createdDate,
  updatedBy: updatedBy ?? this.updatedBy,
  updatedDate: updatedDate ?? this.updatedDate,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['name'] = name;
    map['sex'] = sex;
    map['mobile'] = mobile;
    map['userName'] = userName;
    map['postNames'] = postNames;
    map['postIds'] = postIds;
    map['mainPostId'] = mainPostId;
    map['headimageId'] = headimageId;
    map['officeName'] = officeName;
    map['mainPostName'] = mainPostName;
    map['moDianFlag'] = moDianFlag;
    map['userNo'] = userNo;
    map['tenantId'] = tenantId;
    map['branchId'] = branchId;
    map['accCode'] = accCode;
    map['humanId'] = humanId;
    map['officeId'] = officeId;
    map['validSign'] = validSign;
    map['email'] = email;
    map['remark'] = remark;
    map['status'] = status;
    map['freePassage'] = freePassage;
    map['memberId'] = memberId;
    map['cardNo'] = cardNo;
    map['saasId'] = saasId;
    map['id'] = id;
    map['createdBy'] = createdBy;
    map['createdDate'] = createdDate;
    map['updatedBy'] = updatedBy;
    map['updatedDate'] = updatedDate;
    return map;
  }

}